package com.xoa.service.equipment;


import com.xoa.model.equipment.LimsEquipLend;
import com.xoa.util.AjaxJson;
import com.xoa.util.LimsJson;

import javax.servlet.http.HttpServletRequest;
import java.sql.Date;
import java.util.Map;



public interface EquipBorrowService {

    LimsJson getequipborrowing(HttpServletRequest request, Integer page, Integer limit, Map map, String ApprovalStatus, String column, String inptext);

    LimsJson insertSelective(HttpServletRequest request, LimsEquipLend limsEquipLend, String lendListJson);

    LimsJson getorganization(HttpServletRequest request);

    AjaxJson getoneDepx(HttpServletRequest request, Integer deptId);

    LimsJson getequipmentBydeptid(HttpServletRequest request, Integer equipTypeId, Integer deptId, Integer page, Integer limit, String searchcloumn, String searchValue);

    LimsJson Returnquipborrowing(HttpServletRequest request, Integer lendListId, Integer equipId, String returnUser, Integer lendId);

    LimsJson Returnborrowing(HttpServletRequest request, Integer lendId, String returnUser);

    LimsJson Revokequipborrowing(HttpServletRequest request, Integer lengId);

    LimsJson addlendList(HttpServletRequest request, String lendListJson);

    LimsJson delLendList(HttpServletRequest request, String lendListId);

    LimsJson getLendList(Integer lendId, Integer page, Integer limit, Map map);

    LimsJson lendApprovalStatus(HttpServletRequest request, String lendId, String ApprovalStatus);

    LimsJson delLend(String lendId);

    LimsJson getAdministration(HttpServletRequest request, Integer page, Integer limit, Map map, String ApprovalStatus, String column, String inptext);

    LimsJson updeLendById(HttpServletRequest request, LimsEquipLend limsEquipLend);

    LimsJson getlendByid(Integer lendId);

    LimsJson equipBorrowData(Integer page, Integer limit, Integer equipId, Date borrowTime, Date returnTime, String borrowerUser, String borrowerDetpId, String approverStatus, String returnStatus);

    LimsJson equipUseLogData(Integer page, Integer limit, Integer equipId, Date borrowTime, Date returnTime, String projectNo, String projectName, String borrowerUser);

    LimsJson Laboratory(HttpServletRequest request);
}
